package com.wxg.study.conf;

import java.util.ArrayList;
import java.util.List;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import com.wxg.study.bean.MyPojo;

@Component
@ConfigurationProperties("foo")
public class FooProperties {
	private final List<MyPojo> list = new ArrayList<MyPojo>();

	public List<MyPojo> getList() {
		return list;
	}
	
}
